# -*- coding: utf-8 -*-
from scipy import *

Import_Mayavi = '''
try: from enthought.mayavi.mlab import *
except: from mayavi.mlab import *
'''
Import_Pylab='''
from matplotlib.pyplot import *
rcParams['lines.linewidth']=3.
rcParams['lines.color']='k'
rcParams['lines.markersize']=8
rcParams['lines.markeredgewidth']=1.5
rcParams['legend.fontsize']=25
rcParams['font.size']=28
rcParams['font.family']='serif'
rcParams['font.serif']='Times New Roman'
rcParams['axes.formatter.limits']=[-3,4]
'''
exec Import_Pylab

def pfigure(x,y,ls='-',lc='0',mk='o',pL='ebartp',xL='',yL='',):
	
	plot(x,y,ls,color=lc,marker=mk,mfc='1.0',label=pL)
	xlabel(xL)
	ylabel(yL)
	grid(1)
	legend(fancybox=True, loc=0,ncol=1).get_frame().set_alpha(0.5)
